<?php

/**
 *      [Discuz!] (C)2001-2099 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *		English Discuz!X translated by DisTown: http://www.distown.net
 *      $Id: config_global_default.php 11023 2010-05-20 02:23:09Z monkey $
 */

$_config = array();

// Config Database
$_config['db']['map'] = array();
$_config['db'][1]['dbhost']  		= 'localhost';		// Database Hosting
$_config['db'][1]['dbuser']  		= 'root';		// Database Username
$_config['db'][1]['dbpw'] 	 	= 'root';		// Database Password
$_config['db'][1]['dbcharset'] 		= 'utf8';		// Charset
$_config['db'][1]['pconnect'] 		= 0;			// Pconnect
$_config['db'][1]['dbname']  		= 'ultrax';		// Database name
$_config['db'][1]['tablepre'] 		= 'pre_';		// Table prefix

// Server Optimize(Need PHP extended module support)
//  -----------------  CONFIG MEMORY  ----------------- //
$_config['memory']['prefix'] = 'discuz_';
$_config['memory']['eaccelerator'] = 1;				// Enable eaccelerator
$_config['memory']['xcache'] = 1;				// Enable xcache
$_config['memory']['memcache']['server'] = '';			// memcache Server Address
$_config['memory']['memcache']['port'] = 11211;			// memcache Server Port
$_config['memory']['memcache']['pconnect'] = 1;			// memcache Server Pconnect
$_config['memory']['memcache']['timeout'] = 1;			// memcache Server Timeout

//  -----------------  CONFIG CACHE  ----------------- //
$_config['cache']['main']['type'] = '';

//  -----------------  CONFIG default CACHE  ----------------- //
$_config['cache']['main']['file']['path'] = 'data/ultraxcache';
$_config['cache']['type'] 			= 'sql';	// Cache type, "file" means files cache, "sql" means database cache

// Config output
$_config['output']['charset'] 			= 'utf-8';	// Output charaset
$_config['output']['forceheader']		= 1;		// Force output charaset
$_config['output']['gzip'] 			= 0;		// Enalbe Gzip
$_config['output']['tplrefresh'] 		= 1;		// Template auto refresh, 0=disable, 1=enable
$_config['output']['language'] 			= 'zh_cn';	// Lanuage zh_cn/zh_tw
$_config['output']['staticurl'] 		= 'static/';	// Static files path, must be end with "/"

// Config COOKIE
$_config['cookie']['cookiepre'] 		= 'uchome_'; 	// COOKIE Prefix
$_config['cookie']['cookiedomain'] 		= ''; 		// COOKIE domain
$_config['cookie']['cookiepath'] 		= '/'; 		// COOKIE path

// Config Default page and domain
$_config['app']['default']			= 'forum';		// Set default page of site
$_config['app']['domain']['forum']		= '';		// Forum Domain
$_config['app']['domain']['group']		= '';		// Group Domain
$_config['app']['domain']['home']		= '';		// Home Domain
$_config['app']['domain']['portal']		= '';		// Portal Domain
$_config['app']['domain']['mobile']		= '';		// Mobile Domain
$_config['app']['domain']['default']		= '';		// Default Domain

// Config Security
$_config['security']['authkey']			= 'asdfasfas';	// Site Authenticate Key
$_config['security']['urlxssdefend']		= true;		// URL XSS Protection
$_config['security']['attackevasive']		= 0;		// CC Protection 1|2|4

$_config['admincp']['founder']			= '1';		// Site Founder: own highest permission of admin control panel, you can set multiply founders
													// You can use uid or username, user "," to seperate founders;

$_config['admincp']['forcesecques']		= 0;		// Force Administrators must set security Q&A, or they cannot access admin cp. 0=disable, 1=enable[Safe]
$_config['admincp']['checkip']			= 1;		// Authenticate Administrators IP, 1=enable[Safe], 0=disable. When you cannot login admin cp, you can set it to 0.
$_config['admincp']['runquery']			= 1;		// Run SQL in Admin CP   1=enable 0=disable[Safe]
$_config['admincp']['dbimport']			= 1;		// Restore database in Admin CP  1=enbale 0=disable[Safe]

// Config sub-domain of personal space
$_config['home']['allowdomain']			= 0;		// Enable sub-domain of personal space 1=Yes 0=No
$_config['home']['domainroot']			= '';		// Sub-domain root domain, such as distown.net, then users can use *.distown.net as his space domain
$_config['home']['holddomain'] = 'www,space,home,forum,portal';	// Reserved sub-domains, use "," to seperate domians

?>